package cn.tedu.csmall.passport.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
@Data
public class Admin implements Serializable {
    @ApiModelProperty(value="数据id")
    private Long id;
    @ApiModelProperty(value="用户名")
    private String username;
    @ApiModelProperty(value="密码")
    private String password;
    @ApiModelProperty(value="昵称")
    private String nickname;
    @ApiModelProperty(value="头像url")
    private String avatar;
    @ApiModelProperty(value="手机号码")
    private String phone;
    @ApiModelProperty(value="电子邮箱")
    private String email;
    @ApiModelProperty(value="描述")
    private String description;
    @ApiModelProperty(value="是否启用，1=启用，0=未启用")
    private Integer enable;
    @ApiModelProperty(value="最后登录IP地址")
    private String lastLoginIp;
    @ApiModelProperty(value="累计登录次数")
    private Integer loginCount;
    @ApiModelProperty(value="最后登录时间")
    private LocalDateTime gmtLastLogin;
    @ApiModelProperty(value="数据创建时间")
    private LocalDateTime gmtCreate;
    @ApiModelProperty(value="数据最后修改时间")
    private LocalDateTime gmtModified;
}
